/* eslint no-unused-vars:0 */
import React from 'react';
import 'antd/dist/antd.css';
import './index.less';
import { Menu } from 'antd';

import { Link } from 'react-router-dom';

export default class RiskAssessment extends React.Component {
    render() {
        return (
            <div className="body">
                <div
                    style={{
                        marginTop: '20px'
                    }}>
                    <span className="RiskAssessment-title">风险评估</span>
                </div>
                <Menu mode="horizontal">
                    <Menu.Item>
                        <Link to="/admin/RiskAssessment/EmergencyPlan">
                            风险预警
                        </Link>
                    </Menu.Item>
                    <Menu.Item>
                        <Link to="/admin/RiskAssessment/Solution">
                            解决方案
                        </Link>
                    </Menu.Item>
                </Menu>
                {this.props.children}
            </div>
        );
    }
}
